package com.zw.yzk.kabu.data.network.service;

import com.zw.yzk.kabu.data.network.entity.UserEntity;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by zhanwei on 2016/12/24.
 */

public interface WechatLoginService {
    @GET("api/wx_login")
    Observable<UserEntity> login(
            @Query("code") String code,
            @Query("state") String state);
}
